package com.cy.Service;

import com.cy.bean.Orderrecord;
import com.cy.mapper.OrderrecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@Service
public class OrderrecordServiceImpl implements OrderrecordService{
    @Autowired
    private OrderrecordMapper orderrecordMapper;

    @Override
    public int addOrderrecords(ArrayList<Orderrecord> orderrecords) {
        return  orderrecordMapper.addOrderrecords(orderrecords);
    }
}
